100
How can I change the background color for parts of the text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child",vtMissing,vtMissing,vtMissing,vtMissing)->PutCaption(L"<bgcolor=FF0000>new</bgcolor> caption");

99
How can I change the foreground color for parts of the text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child",vtMissing,vtMissing,vtMissing,vtMissing)->PutCaption(L"<fgcolor=FF0000>new</fgcolor> caption");

98
How can I show the node as strikeout

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child",vtMissing,vtMissing,vtMissing,vtMissing)->PutCaption(L"<s>new</s> caption");

97
How can I show the node as underlined

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child",vtMissing,vtMissing,vtMissing,vtMissing)->PutCaption(L"<u>new</u> caption");

96
How can I show the node as italic

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child",vtMissing,vtMissing,vtMissing,vtMissing)->PutCaption(L"<i>new</i> caption");

95
How can I bold the node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child",vtMissing,vtMissing,vtMissing,vtMissing)->PutCaption(L"<b>new</b> caption");

94
How can I change the node's caption

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child",vtMissing,vtMissing,vtMissing,vtMissing)->PutCaption(L"new caption");

93
How can I display hierarchical the child nodes so they are indented relative to their parents

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
spChartView1->PutPenLink(EXORGCHARTLib::exPenSolid);
spChartView1->PutPenWidthLink(3);
spChartView1->PutIndentSiblingX(12);
spChartView1->PutIndentSiblingY(12);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"As <b>Tree</b>",vtMissing,"1234",vtMissing,vtMissing)->PutArrangeSiblingNodesAs(EXORGCHARTLib::exTree);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234","456",vtMissing,vtMissing);
	var_Nodes->Add(L"Item 1","456",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2","456","78",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Item 2.1","78",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2.2","78",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 3","456",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"As <b>Default</b>",vtMissing,"AA",vtMissing,vtMissing);
	var_Nodes->Add(L"Item 1","AA",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2","AA","BB",vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2.1","BB",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2.2","BB",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2.3","BB",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 3","AA",vtMissing,vtMissing,vtMissing);

92
How can I display the child nodes as a tree, so they are indented relative to their parents

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutIndentSiblingY(4);
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->PutArrangeSiblingNodesAs(EXORGCHARTLib::exTree);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child 1",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234","456",vtMissing,vtMissing);
	var_Nodes->Add(L"Item 1","456",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2","456","78",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Item 2.1","78",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2.2","78",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 3","456",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child 2",vtMissing,vtMissing,vtMissing,vtMissing);

91
How can I indent the child nodes relative to their parents

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutIndentChild(32);
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"AsTree",vtMissing,"1234",vtMissing,vtMissing)->PutArrangeSiblingNodesAs(EXORGCHARTLib::exTree);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234","456",vtMissing,vtMissing);
	var_Nodes->Add(L"Item 1","456",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2","456","78",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Item 2.1","78",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 2.2","78",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Item 3","456",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child 2",vtMissing,"AA",vtMissing,vtMissing);
	var_Nodes->Add(L"1","AA",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"2","AA","BB",vtMissing,vtMissing);
	var_Nodes->Add(L"2.1","BB",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"2.2","BB",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"3","AA",vtMissing,vtMissing,vtMissing);

90
How can I increase the distance between nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutIndentSiblingY(64);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"<a1>Link 1</a>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub <a1>Link 1</a>","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"<a2>Link 2</a>",vtMissing,vtMissing,vtMissing,vtMissing);

89
How can I increase the distance between nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutIndentSiblingX(64);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"<a1>Link 1</a>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub <a1>Link 1</a>","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"<a2>Link 2</a>",vtMissing,vtMissing,vtMissing,vtMissing);

88
How can I add an anchor or a hyperlink

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"<a1>Link 1</a>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub <a1>Link 1</a>","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"<a2>Link 2</a>",vtMissing,vtMissing,vtMissing,vtMissing);

87
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutFormatAnchor(VARIANT_FALSE,L"<u><fgcolor=880000> </fgcolor></u>");
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"<a1>Link 1</a>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub <a1>Link 1</a>","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"<a2>Link 2</a>",vtMissing,vtMissing,vtMissing,vtMissing);

86
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutFormatAnchor(VARIANT_TRUE,L"<u><fgcolor=FF0000> </fgcolor></u>");
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"<a1>Link 1</a>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub <a1>Link 1</a>","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"<a2>Link 2</a>",vtMissing,vtMissing,vtMissing,vtMissing);

83
How can I assign multiple icons to a node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spChartView1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing)->PutCaption(L"<img>1</img> text <img>2</img> and so on<br>bla <b>bla</b> left<r><img>3</img>");
	EXORGCHARTLib::INodePtr var_Node = var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
		var_Node->PutCaption(L"<img>pic1</img> text <img>1:6</img><img>1:6</img><img>1</img> <img>2</img>");
		var_Node->PutFixedWidth(124);
		var_Node->PutFixedHeight(48);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

82
How can I assign multiple pictures to a node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spChartView1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	EXORGCHARTLib::INodePtr var_Node1 = var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
		var_Node1->PutCaption(L"<img>pic1</img> text <img>pic2</img>");
		var_Node1->PutFixedWidth(108);
		var_Node1->PutFixedHeight(48);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

81
How can I change the color of the line that links assistant nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutLinkAssistantColor(RGB(255,0,0));
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

80
How can I change the width of the line that links assistant nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPenLinkAssistant(EXORGCHARTLib::exPenSolid);
spChartView1->PutPenWidthLinkAssistant(4);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

79
How can I change the style of the line that links assistant nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPenLinkAssistant(EXORGCHARTLib::exPenDashDotDot);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

78
How can I change the shape of the cursor when it hovers the +/- or expand/collapse buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutCursor(EXORGCHARTLib::exExpandButtonArea,"exHelp");
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

77
How do I change the shape of the cursor when the user clicks an drags the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutCursor(EXORGCHARTLib::exDragChart,"exHelp");
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

76
How do I change the shape of the cursor when it hovers a node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutCursor(EXORGCHARTLib::exNodeArea,"exHelp");
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

75
How do I change the shape of the cursor when it hovers the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutCursor(EXORGCHARTLib::exChartArea,"exHelp");
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

74
How can I copy and paste the control's content to Microsoft Word for instance

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
spChartView1->PutPenLink(EXORGCHARTLib::exPenSolid);
spChartView1->PutPenWidthLink(3);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

73
How can I copy and paste the control's content to Microsoft Word for instance

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
spChartView1->PutButtonsAlign(EXORGCHARTLib::MiddleRight);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

72
How can I enable or disable expanding or collapsing a node when user double clicks it

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutExpandOnDblClk(VARIANT_FALSE);
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
spChartView1->PutButtonsAlign(EXORGCHARTLib::MiddleRight);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

71
How can I align the +/- expand or collapse buttons to the right

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
spChartView1->PutButtonsAlign(EXORGCHARTLib::MiddleRight);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

70
Can I display the +/- expand or collapse buttons using your EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
EXORGCHARTLib::IAppearancePtr var_Appearance = spChartView1->GetVisualAppearance();
	var_Appearance->Add(11,"c:\\exontrol\\images\\normal.ebn");
	var_Appearance->Add(22,"c:\\exontrol\\images\\pushed.ebn");
	var_Appearance->Add(1,"CP:11 2 2 -2 -2");
	var_Appearance->Add(2,"CP:22 2 2 -2 -2");
spChartView1->PutHasButtons(EXORGCHARTLib::exCustom);
spChartView1->PutHasButtonsCustom(VARIANT_TRUE,33554432);
spChartView1->PutHasButtonsCustom(VARIANT_FALSE,16777216);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

69
How can I change the +/- expand or collapse buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spChartView1->PutHasButtons(EXORGCHARTLib::exCustom);
spChartView1->PutHasButtonsCustom(VARIANT_TRUE,1);
spChartView1->PutHasButtonsCustom(VARIANT_FALSE,2);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

68
How can I change the +/- expand or collapse buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHasButtons(EXORGCHARTLib::exCircle);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

67
How can I display +/- expand or collapse buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHasButtons(EXORGCHARTLib::exPlus);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing)->PutExpanded(VARIANT_FALSE);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

66
How do I show or hide the assistant nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutShowAssistants(VARIANT_TRUE);
EXORGCHARTLib::INodePtr var_Node = spChartView1->GetRoot();
	var_Node->PutImage(0);
	var_Node->AddAssistant(L"Assistant 1",vtMissing,vtMissing);
	var_Node->AddAssistant(L"Assistant 2",vtMissing,vtMissing);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

65
How do I scale or zoom the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutBorderWidth(18);
spChartView1->PutBorderHeight(18);
spChartView1->PutZoomWidthMode(EXORGCHARTLib::exCustomSize);
spChartView1->PutZoomHeightMode(EXORGCHARTLib::exCustomSize);
spChartView1->PutZoomWidth(2);
spChartView1->PutZoomHeight(2);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

64
How do I scale or zoom the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutBorderWidth(18);
spChartView1->PutBorderHeight(18);
spChartView1->PutZoomWidthMode(EXORGCHARTLib::exControlSize);
spChartView1->PutZoomHeightMode(EXORGCHARTLib::exControlSize);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

63
How can I ensure that the selected node is visible or fits the chart's area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutEnsureVisibleOnSelect(VARIANT_TRUE);
spChartView1->PutScrollOnEnsure(VARIANT_FALSE);
spChartView1->PutBorderWidth(18);
spChartView1->PutBorderHeight(18);
spChartView1->PutZoomWidthMode(EXORGCHARTLib::exCustomSize);
spChartView1->PutZoomHeightMode(EXORGCHARTLib::exCustomSize);
spChartView1->PutZoomWidth(2);
spChartView1->PutZoomHeight(2);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 3","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

62
How do I avoid slow moving the chart when the user selects a new node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollByClick(VARIANT_FALSE);

61
How do I ensure that a node is visible or fits the chart's area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->EnsureVisibleNode("1234");

60
How do I change the root node, so it explore from a specified node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 1","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Sub 2","1234",vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->PutExploreFromNode("1234");

59
How do I select a node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,"1234",vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->PutSelectNode("1234");
spChartView1->PutHideSelection(VARIANT_FALSE);

57
How do I fix the height for all nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutFixedHeightNode(32);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

56
How do I fix the width for all nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutFixedWidthNode(128);
spChartView1->GetRoot()->PutImage(0);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

55
How do I change the style of the link between nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPenLink(EXORGCHARTLib::exPenDash);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

54
How do I change the color to link the nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutLinkColor(RGB(255,0,0));
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

53
How do I change the shape for selected node, using your EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spChartView1->PutSelColor(0x2000000);
spChartView1->PutSelectNode("root");
spChartView1->PutHideSelection(VARIANT_FALSE);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

52
How do I change the color for selected node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutSelColor(RGB(0,0,255));
spChartView1->PutSelectNode("root");
spChartView1->PutHideSelection(VARIANT_FALSE);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

51
How do I hide the node's shadow

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutShadowNode(VARIANT_FALSE);

50
How do I change the pen to draw the border for all nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPenBorderNode(EXORGCHARTLib::exPenDot);

49
How do I change the shape of the border for all nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spChartView1->PutBackground(EXORGCHARTLib::exNodeFrame,0x2000000);

48
How do I change the shape of the border for all nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutDrawRoundNode(VARIANT_FALSE);

47
How do I change the foreground color for all nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutForeColorNode(RGB(255,0,0));
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

46
How do I change the background color for all nodes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutBackColorNode(RGB(255,0,0));
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

45
How do I change the key of the root

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetRoot()->PutKey(L"myKey");

44
How do I change the caption of the root

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetRoot()->PutCaption(L"new<br>root");

43
How do I access the root node

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetRoot()->PutCaption(L"new<br>root");

42
How do I access the nodes collection

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
	var_Nodes->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

41
How do I refresh the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetNodes()->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->GetNodes()->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->Refresh();

40
How do I prevent painting while several changes are performed

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->BeginUpdate();
spChartView1->GetNodes()->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->GetNodes()->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->EndUpdate();

39
How do I indent the full chart to the right

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutBorderWidth(8);
spChartView1->PutBorderHeight(8);

38
How can I change the node's border/frame, using your EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spChartView1->PutBackground(EXORGCHARTLib::exNodeFrame,0x1000000);
spChartView1->GetNodes()->Add(L"Child <b>1</b>",vtMissing,vtMissing,vtMissing,vtMissing);
spChartView1->GetNodes()->Add(L"Child <b>2</b>",vtMissing,vtMissing,vtMissing,vtMissing);

37
How can still display the selected node when the control loses the focus

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutHideSelection(VARIANT_FALSE);

36
How do I disable or enable the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutEnabled(VARIANT_FALSE);

35
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spChartView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spChartView1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spChartView1->PutBackground(EXORGCHARTLib::exHSThumb,0x1000000);
spChartView1->PutBackground(EXORGCHARTLib::exHSThumbP,0x2000000);
spChartView1->PutBackground(EXORGCHARTLib::exHSThumbH,0x3000000);
spChartView1->PutBackground(EXORGCHARTLib::exVSThumb,0x1000000);
spChartView1->PutBackground(EXORGCHARTLib::exVSThumbP,0x2000000);
spChartView1->PutBackground(EXORGCHARTLib::exVSThumbH,0x3000000);
spChartView1->PutFixedWidthNode(320);

34
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spChartView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spChartView1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spChartView1->PutBackground(EXORGCHARTLib::exHSThumb,0x1000000);
spChartView1->PutBackground(EXORGCHARTLib::exHSThumbP,0x2000000);
spChartView1->PutBackground(EXORGCHARTLib::exHSThumbH,0x3000000);
spChartView1->PutScrollThumbSize(EXORGCHARTLib::exHScroll,96);
spChartView1->PutFixedWidthNode(320);

33
I've seen that you can change the visual appearance for the scroll bar. How can I do that

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spChartView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spChartView1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spChartView1->PutBackground(EXORGCHARTLib::exSBtn,0x1000000);
spChartView1->PutBackground(EXORGCHARTLib::exSBtnP,0x2000000);
spChartView1->PutBackground(EXORGCHARTLib::exSBtnH,0x3000000);
spChartView1->PutBackground(EXORGCHARTLib::exHSBack,RGB(240,240,240));
spChartView1->PutBackground(EXORGCHARTLib::exVSBack,RGB(240,240,240));
spChartView1->PutBackground(EXORGCHARTLib::exSizeGrip,RGB(240,240,240));
spChartView1->PutFixedWidthNode(320);

32
Can I change the forecolor for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipDelay(1);
spChartView1->PutToolTipWidth(364);
spChartView1->PutBackground(EXORGCHARTLib::exToolTipForeColor,RGB(255,0,0));
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

31
Can I change the background color for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipDelay(1);
spChartView1->PutToolTipWidth(364);
spChartView1->PutBackground(EXORGCHARTLib::exToolTipBackColor,RGB(255,0,0));
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

30
Can I change the default border of the tooltip, using your EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipDelay(1);
spChartView1->PutToolTipWidth(364);
spChartView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spChartView1->PutBackground(EXORGCHARTLib::exToolTipAppearance,0x1000000);
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

29
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->ExecuteTemplate(L"BackColor = RGB(255,0,0)");

28
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutTemplate(L"BackColor = RGB(255,0,0)");

27
Can I change the font for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipDelay(1);
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
stdole::FontPtr var_StdFont = spChartView1->GetToolTipFont();
	var_StdFont->PutName(L"Tahoma");
	var_StdFont->PutSize(_variant_t(long(14)));
spChartView1->PutToolTipWidth(364);
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

26
I've seen that the width of the tooltip is variable. Can I make it larger

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipWidth(328);
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

25
How do I let the tooltip being displayed longer

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipPopDelay(10000);
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

24
How do I disable showing the tooltip for all control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipDelay(0);
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

23
How do I show the tooltip quicker

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutToolTipDelay(1);
spChartView1->GetRoot()->PutToolTip(L"This is a bit of text that's shown when the cursor hovers the node.");

22
Can I change the order of the buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollOrderParts(EXORGCHARTLib::exHScroll,L"t,l,r");
spChartView1->PutScrollOrderParts(EXORGCHARTLib::exVScroll,L"t,l,r");
spChartView1->PutFixedWidthNode(320);

21
The thumb size seems to be very small. Can I make it bigger

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollThumbSize(EXORGCHARTLib::exHScroll,164);
spChartView1->PutFixedWidthNode(320);

20
How do I enlarge or change the size of the control's scrollbars

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollHeight(18);
spChartView1->PutScrollWidth(18);
spChartView1->PutScrollButtonWidth(18);
spChartView1->PutScrollButtonHeight(18);
spChartView1->PutFixedWidthNode(320);
spChartView1->PutFixedHeightNode(320);

19
How can I display my text on the scroll bar, using a different font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollPartCaption(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exThumbPart,L"This is just a text");
spChartView1->GetScrollFont(EXORGCHARTLib::exHScroll)->PutSize(_variant_t(long(12)));
spChartView1->PutScrollThumbSize(EXORGCHARTLib::exHScroll,128);
spChartView1->PutScrollHeight(24);
spChartView1->PutScrollPartCaption(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exThumbPart,L"This is <s><font Tahoma;12> just </font></s> text");
spChartView1->PutScrollHeight(20);
spChartView1->PutFixedWidthNode(320);

18
How can I display my text on the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollPartCaption(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exThumbPart,L"this is just a text");
spChartView1->PutScrollThumbSize(EXORGCHARTLib::exHScroll,96);
spChartView1->PutFixedWidthNode(320);

17
How do I assign a tooltip to a scrollbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollToolTip(EXORGCHARTLib::exHScroll,L"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
spChartView1->PutFixedWidthNode(320);

16
How do I assign an icon to the button in the scrollbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spChartView1->PutScrollPartVisible(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exLeftB1Part,VARIANT_TRUE);
spChartView1->PutScrollPartCaption(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exLeftB1Part,L"<img>1</img>");
spChartView1->PutScrollHeight(18);
spChartView1->PutScrollButtonWidth(18);
spChartView1->PutFixedWidthNode(320);

15
I need to add a button in the scroll bar. Is this possible

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollPartVisible(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exLeftB1Part,VARIANT_TRUE);
spChartView1->PutScrollPartCaption(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exLeftB1Part,L"1");
spChartView1->PutFixedWidthNode(320);

14
Can I display an additional buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutScrollPartVisible(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exLeftB1Part,VARIANT_TRUE);
spChartView1->PutScrollPartVisible(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exLeftB2Part,VARIANT_TRUE);
spChartView1->PutScrollPartVisible(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exRightB6Part,VARIANT_TRUE);
spChartView1->PutScrollPartVisible(EXORGCHARTLib::exHScroll,EXORGCHARTLib::exRightB5Part,VARIANT_TRUE);
spChartView1->PutFixedWidthNode(320);

13
How do I change the control's foreground color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutForeColor(RGB(255,0,0));

12
How do I change the control's background color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutBackColor(RGB(200,200,200));

11
How can I change the control's font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetFont()->PutName(L"Verdana");
spChartView1->Refresh();

10
How do I put a picture on the center of the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spChartView1->PutPictureDisplay(EXORGCHARTLib::MiddleCenter);

9
How do I resize/stretch a picture on the control's background

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spChartView1->PutPictureDisplay(EXORGCHARTLib::Stretch);

8
How do I put a picture on the control's center right bottom side

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spChartView1->PutPictureDisplay(EXORGCHARTLib::LowerRight);

7
How do I put a picture on the control's center left bottom side

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spChartView1->PutPictureDisplay(EXORGCHARTLib::LowerLeft);

6
How do I put a picture on the control's center top side

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spChartView1->PutPictureDisplay(EXORGCHARTLib::UpperCenter);

5
How do I put a picture on the control's right top corner

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spChartView1->PutPictureDisplay(EXORGCHARTLib::UpperRight);

4
How do I put a picture on the control's left top corner

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spChartView1->PutPictureDisplay(EXORGCHARTLib::UpperLeft);

3
How do I put a picture on the control's background

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutPicture(IPictureDispPtr(((IDispatch*)(spChartView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));

2
How do I change the control's border, using your EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spChartView1->PutAppearance(EXORGCHARTLib::AppearanceEnum(0x1000000));

1
How do I remove the control's border

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutAppearance(EXORGCHARTLib::None2);